home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993…stman Always Clicks Twice / ADC Developer CD (1993-01) (''The Postman Always Clicks Twice'')_iso / Dev.CD 199301.iso / Technical Documentation / Mac Tech Notes (DocViewer) / TN-Files / TN-Files.rsrc / TOC#_1000 < prev   
Unknown  |  1992-11-18  |  8.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 f8 1d 52 65 73 6f 6c | 76 69 6e 67 20 41 6c 69 |...Resol|ving Ali|
|00000010| 61 73 20 46 69 6c 65 73 | 20 51 75 69 65 74 6c 79 |as Files| Quietly|
|00000020| 0c 49 6e 74 72 6f 64 75 | 63 74 69 6f 6e 0d 4b 65 |.Introdu|ction.Ke|
|00000030| 65 70 69 6e 67 20 51 75 | 69 65 74 0b 51 75 69 65 |eping Qu|iet.Quie|
|00000040| 74 20 43 61 6c 6c 73 0a | 4d 50 57 20 50 61 73 63 |t Calls.|MPW Pasc|
|00000050| 61 6c 05 4d 50 57 20 43 | 12 46 75 72 74 68 65 72 |al.MPW C|.Further|
|00000060| 20 52 65 66 65 72 65 6e | 63 65 3a 12 41 6c 69 61 | Referen|ce:.Alia|
|00000070| 73 20 4d 61 6e 61 67 65 | 72 20 51 26 41 73 27 56 |s Manage|r Q&As'V|
|00000080| 6f 6c 75 6d 65 73 20 6d | 75 73 74 20 68 61 76 65 |olumes m|ust have|
|00000090| 20 75 6e 69 71 75 65 20 | 63 72 65 61 74 69 6f 6e | unique |creation|
|000000a0| 20 64 61 74 65 73 11 41 | 76 61 69 6c 61 62 6c 65 | dates.A|vailable|
|000000b0| 20 56 6f 6c 75 6d 65 73 | 09 49 6e 20 4d 50 57 20 | Volumes|.In MPW |
|000000c0| 43 3a 12 46 75 72 74 68 | 65 72 20 52 65 66 65 72 |C:.Furth|er Refer|
|000000d0| 65 6e 63 65 3a 2d 48 6f | 77 20 74 6f 20 42 6c 65 |ence:-Ho|w to Ble|
|000000e0| 73 73 20 61 20 46 6f 6c | 64 65 72 20 74 6f 20 42 |ss a Fol|der to B|
|000000f0| 65 20 74 68 65 20 53 79 | 73 74 65 6d 20 46 6f 6c |e the Sy|stem Fol|
|00000100| 64 65 72 00 12 46 75 72 | 74 68 65 72 20 52 65 66 |der..Fur|ther Ref|
|00000110| 65 72 65 6e 63 65 3a 07 | 43 61 63 68 69 6e 67 06 |erence:.|Caching.|
|00000120| 41 20 74 65 72 6d 1f 54 | 68 65 72 65 d5 73 20 61 |A term.T|here.s a|
|00000130| 6c 77 61 79 73 20 61 20 | 63 61 63 68 65 20 28 74 |lways a |cache (t|
|00000140| 79 70 65 20 31 29 1a 43 | 61 63 68 65 20 74 72 61 |ype 1).C|ache tra|
|00000150| 63 6b 20 66 65 76 65 72 | 20 28 74 79 70 65 20 32 |ck fever| (type 2|
|00000160| 29 1c 43 61 63 68 65 20 | 6d 65 20 69 66 20 79 6f |).Cache |me if yo|
|00000170| 75 20 63 61 6e 20 28 74 | 79 70 65 20 33 29 06 42 |u can (t|ype 3).B|
|00000180| 75 66 50 74 72 0c 41 20 | 66 69 6e 61 6c 20 6e 6f |ufPtr.A |final no|
|00000190| 74 65 12 46 75 72 74 68 | 65 72 20 52 65 66 65 72 |te.Furth|er Refer|
|000001a0| 65 6e 63 65 3a 2c 43 72 | 65 61 74 65 52 65 73 46 |ence:,Cr|eateResF|
|000001b0| 69 6c 65 20 61 6e 64 20 | 74 68 65 20 50 6f 6f 72 |ile and |the Poor|
|000001c0| 20 4d 61 6e d5 73 20 53 | 65 61 72 63 68 20 50 61 | Man.s S|earch Pa|
|000001d0| 74 68 12 46 75 72 74 68 | 65 72 20 52 65 66 65 72 |th.Furth|er Refer|
|000001e0| 65 6e 63 65 3a 2f 43 72 | 65 61 74 69 6e 67 20 46 |ence:/Cr|eating F|
|000001f0| 69 6c 65 73 20 49 6e 73 | 69 64 65 20 61 6e 20 41 |iles Ins|ide an A|
|00000200| 70 70 6c 65 53 68 61 72 | 65 20 44 72 6f 70 20 46 |ppleShar|e Drop F|
|00000210| 6f 6c 64 65 72 12 46 75 | 72 74 68 65 72 20 52 65 |older.Fu|rther Re|
|00000220| 66 65 72 65 6e 63 65 3a | 24 44 6f 6e d5 74 20 55 |ference:|$Don.t U|
|00000230| 73 65 20 74 68 65 20 52 | 65 73 6f 75 72 63 65 20 |se the R|esource |
|00000240| 46 6f 72 6b 20 66 6f 72 | 20 44 61 74 61 12 46 75 |Fork for| Data.Fu|
|00000250| 72 74 68 65 72 20 52 65 | 66 65 72 65 6e 63 65 3a |rther Re|ference:|
|00000260| 24 46 69 6c 65 20 4d 61 | 6e 61 67 65 72 20 44 69 |$File Ma|nager Di|
|00000270| 72 65 63 74 6f 72 79 20 | 48 61 6e 64 6c 69 6e 67 |rectory |Handling|
|00000280| 20 51 26 41 73 3f 47 65 | 74 74 69 6e 67 20 66 6f | Q&As?Ge|tting fo|
|00000290| 6c 64 65 72 20 64 69 72 | 65 63 74 6f 72 79 20 49 |lder dir|ectory I|
|000002a0| 44 20 62 61 73 65 64 20 | 6f 6e 20 70 61 74 68 20 |D based |on path |
|000002b0| 6e 61 6d 65 20 6f 72 20 | 70 61 72 65 6e 74 20 66 |name or |parent f|
|000002c0| 6f 6c 64 65 72 25 57 68 | 65 72 65 20 74 6f 20 66 |older%Wh|ere to f|
|000002d0| 69 6e 64 20 44 69 72 43 | 72 65 61 74 65 20 64 6f |ind DirC|reate do|
|000002e0| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 23 50 42 48 44 |cumentat|ion#PBHD|
|000002f0| 65 6c 65 74 65 20 69 6e | 73 69 67 68 74 73 20 61 |elete in|sights a|
|00000300| 6e 64 20 63 6f 64 65 20 | 73 6e 69 70 70 65 74 25 |nd code |snippet%|
|00000310| 69 6f 4e 61 6d 65 50 74 | 72 20 6e 65 65 64 73 20 |ioNamePt|r needs |
|00000320| 76 61 6c 75 65 20 66 6f | 72 20 50 42 47 65 74 57 |value fo|r PBGetW|
|00000330| 44 49 6e 66 6f 20 57 6f | 72 6b 69 6e 67 20 64 69 |DInfo Wo|rking di|
|00000340| 72 65 63 74 6f 72 69 65 | 73 20 61 6e 64 20 57 44 |rectorie|s and WD|
|00000350| 52 65 66 4e 75 6d 2b 47 | 65 74 74 69 6e 67 20 48 |RefNum+G|etting H|
|00000360| 46 53 20 64 69 72 65 63 | 74 6f 72 69 65 73 20 66 |FS direc|tories f|
|00000370| 72 6f 6d 20 66 75 6c 6c | 20 70 61 74 68 6e 61 6d |rom full| pathnam|
|00000380| 65 73 2c 4e 6f 20 66 69 | 6c 65 20 6c 69 6d 69 74 |es,No fi|le limit|
|00000390| 20 77 69 74 68 69 6e 20 | 4d 61 63 69 6e 74 6f 73 | within |Macintos|
|000003a0| 68 20 48 46 53 20 64 69 | 72 65 63 74 6f 72 79 2e |h HFS di|rectory.|
|000003b0| 48 6f 77 20 61 20 6e 65 | 77 20 4d 61 63 69 6e 74 |How a ne|w Macint|
|000003c0| 6f 73 68 20 64 69 72 65 | 63 74 6f 72 79 20 49 44 |osh dire|ctory ID|
|000003d0| 20 69 73 20 64 65 74 65 | 72 6d 69 6e 65 64 3a 43 | is dete|rmined:C|
|000003e0| 68 61 6e 67 69 6e 67 20 | 61 20 66 69 6c 65 d5 73 |hanging |a file.s|
|000003f0| 20 66 6f 72 6b 20 77 69 | 74 68 6f 75 74 20 63 68 | fork wi|thout ch|
|00000400| 61 6e 67 69 6e 67 20 6c | 61 73 74 2d 6d 6f 64 69 |anging l|ast-modi|
|00000410| 66 69 65 64 20 64 61 74 | 65 26 43 6f 64 65 20 66 |fied dat|e&Code f|
|00000420| 6f 72 20 64 65 74 65 63 | 74 69 6e 67 20 50 42 43 |or detec|ting PBC|
|00000430| 61 74 53 65 61 72 63 68 | 20 73 75 70 70 6f 72 74 |atSearch| support|
|00000440| 3b 50 42 48 47 65 74 44 | 69 72 41 63 63 65 73 73 |;PBHGetD|irAccess|
|00000450| 20 69 6f 4e 61 6d 65 50 | 74 72 20 28 6e 6f 74 20 | ioNameP|tr (not |
|00000460| 69 6f 46 69 6c 65 4e 61 | 6d 65 29 20 26 20 69 6f |ioFileNa|me) & io|
|00000470| 44 69 72 49 44 20 70 61 | 72 61 6d 73 2d 50 42 47 |DirID pa|rams-PBG|
|00000480| 65 74 43 61 74 49 6e 66 | 6f 20 4e 49 4c 20 69 6f |etCatInf|o NIL io|
|00000490| 4e 61 6d 65 50 74 72 20 | 62 75 67 20 61 6e 64 20 |NamePtr |bug and |
|000004a0| 77 6f 72 6b 61 72 6f 75 | 6e 64 2d 46 6f 72 63 69 |workarou|nd-Forci|
|000004b0| 6e 67 20 74 68 65 20 4d | 61 63 69 6e 74 6f 73 68 |ng the M|acintosh|
|000004c0| 20 73 79 73 74 65 6d 20 | 74 6f 20 73 77 69 74 63 | system |to switc|
|000004d0| 68 2d 6c 61 75 6e 63 68 | 3e 48 6f 77 20 63 61 6e |h-launch|>How can|
|000004e0| 20 49 20 74 65 6c 6c 20 | 77 68 69 63 68 20 64 69 | I tell |which di|
|000004f0| 72 65 63 74 6f 72 79 20 | 6d 79 20 4d 61 63 69 6e |rectory |my Macin|
|00000500| 74 6f 73 68 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |tosh app|lication|
|00000510| 20 69 73 20 69 6e 3f 3b | 41 73 73 65 6d 62 6c 65 | is in?;|Assemble|
|00000520| 72 20 63 6f 64 65 20 66 | 6f 72 20 64 69 73 74 69 |r code f|or disti|
|00000530| 6e 67 75 69 73 68 69 6e | 67 20 62 65 74 77 65 65 |nguishin|g betwee|
|00000540| 6e 20 48 46 53 20 61 6e | 64 20 4d 46 53 20 63 61 |n HFS an|d MFS ca|
|00000550| 6c 6c 73 11 45 72 72 6f | 72 20 69 6e 20 46 43 42 |lls.Erro|r in FCB|
|00000560| 50 42 52 65 63 12 46 75 | 72 74 68 65 72 20 52 65 |PBRec.Fu|rther Re|
|00000570| 66 65 72 65 6e 63 65 3a | 1f 46 69 6c 65 20 4d 61 |ference:|.File Ma|
|00000580| 6e 61 67 65 72 20 46 69 | 6c 65 20 48 61 6e 64 6c |nager Fi|le Handl|
|00000590| 69 6e 67 20 51 26 41 73 | 2e 4d 61 63 69 6e 74 6f |ing Q&As|.Macinto|
|000005a0| 73 68 20 66 69 6c 65 20 | 72 65 66 65 72 65 6e 63 |sh file |referenc|
|000005b0| 65 20 6e 75 6d 62 65 72 | 20 28 72 65 66 4e 75 6d |e number| (refNum|
|000005c0| 29 20 72 61 6e 67 65 26 | 53 74 65 70 73 20 66 6f |) range&|Steps fo|
|000005d0| 72 20 64 75 70 6c 69 63 | 61 74 69 6e 67 20 61 20 |r duplic|ating a |
|000005e0| 4d 61 63 69 6e 74 6f 73 | 68 20 66 69 6c 65 31 4d |Macintos|h file1M|
|000005f0| 61 63 69 6e 74 6f 73 68 | 20 66 69 6c 65 6e 61 6d |acintosh| filenam|
|00000600| 65 20 63 61 6e 6e 6f 74 | 20 73 74 61 72 74 20 77 |e cannot| start w|
|00000610| 69 74 68 20 61 20 70 65 | 72 69 6f 64 20 28 2e 29 |ith a pe|riod (.)|
|00000620| 3a 43 6f 64 65 20 66 6f | 72 20 72 65 61 64 69 6e |:Code fo|r readin|
|00000630| 67 20 66 72 6f 6d 20 61 | 20 6e 6f 6e 4d 61 63 69 |g from a| nonMaci|
|00000640| 6e 74 6f 73 68 2d 66 6f | 72 6d 61 74 74 65 64 20 |ntosh-fo|rmatted |
|00000650| 66 6c 6f 70 70 79 20 64 | 69 73 6b 29 53 79 73 74 |floppy d|isk)Syst|
|00000660| 65 6d 20 37 20 46 69 6e | 64 65 72 20 61 6e 64 20 |em 7 Fin|der and |
|00000670| 66 69 6c 65 20 64 75 70 | 6c 69 63 61 74 69 6f 6e |file dup|lication|
|00000680| 20 74 69 6d 65 39 43 6f | 70 79 69 6e 67 20 61 20 | time9Co|pying a |
|00000690| 66 69 6c 65 20 6f 72 20 | 66 6f 6c 64 65 72 20 64 |file or |folder d|
|000006a0| 72 61 67 67 65 64 20 74 | 6f 20 4d 61 63 69 6e 74 |ragged t|o Macint|
|000006b0| 6f 73 68 20 61 70 70 6c | 69 63 61 74 69 6f 6e 27 |osh appl|ication'|
|000006c0| 53 69 6d 75 6c 61 74 69 | 6e 67 20 50 42 45 78 63 |Simulati|ng PBExc|
|000006d0| 68 61 6e 67 65 46 69 6c | 65 73 20 66 6f 72 20 53 |hangeFil|es for S|
|000006e0| 79 73 74 65 6d 20 36 2b | 4d 61 63 69 6e 74 6f 73 |ystem 6+|Macintos|
|000006f0| 68 20 6f 70 65 6e 20 66 | 69 6c 65 20 6d 61 78 69 |h open f|ile maxi|
|00000700| 6d 75 6d 73 20 26 20 68 | 6f 77 20 74 6f 20 61 6c |mums & h|ow to al|
|00000710| 74 65 72 2f 57 68 65 72 | 65 20 74 6f 20 67 65 74 |ter/Wher|e to get|
|00000720| 20 4d 61 63 69 6e 74 6f | 73 68 20 74 68 69 72 64 | Macinto|sh third|
|00000730| 2d 70 61 72 74 79 20 66 | 69 6c 65 20 66 6f 72 6d |-party f|ile form|
|00000740| 61 74 73 25 46 53 53 70 | 65 63 20 61 6e 64 20 53 |ats%FSSp|ec and S|
|00000750| 46 52 65 70 6c 79 20 69 | 6e 66 6f 72 6d 61 74 69 |FReply i|nformati|
|00000760| 6f 6e 20 62 6c 6f 63 6b | 73 2c 48 6f 77 20 74 6f |on block|s,How to|
|00000770| 20 73 65 61 72 63 68 20 | 6f 6e 6c 79 20 6e 6f 6e | search |only non|
|00000780| 73 65 72 76 65 72 20 6d | 6f 75 6e 74 65 64 20 76 |server m|ounted v|
|00000790| 6f 6c 75 6d 65 73 40 55 | 73 69 6e 67 20 74 68 65 |olumes@U|sing the|
|000007a0| 20 4d 61 63 69 6e 74 6f | 73 68 20 66 69 6c 65 20 | Macinto|sh file |
|000007b0| 73 79 73 74 65 6d 20 61 | 73 79 6e 63 68 72 6f 6e |system a|synchron|
|000007c0| 6f 75 73 6c 79 20 61 74 | 20 69 6e 74 65 72 72 75 |ously at| interru|
|000007d0| 70 74 20 74 69 6d 65 2a | 55 73 69 6e 67 20 4d 61 |pt time*|Using Ma|
|000007e0| 63 69 6e 74 6f 73 68 20 | 50 42 52 65 61 64 20 63 |cintosh |PBRead c|
|000007f0| 61 6c 6c 20 61 73 79 6e | 63 68 72 6f 6e 6f 75 73 |all asyn|chronous|
|00000800| 6c 79 34 50 61 72 74 69 | 74 69 6f 6e 20 4d 61 63 |ly4Parti|tion Mac|
|00000810| 20 76 6f 6c 75 6d 65 73 | 20 74 6f 20 77 6f 72 6b | volumes| to work|
|00000820| 20 61 72 6f 75 6e 64 20 | 32 20 47 42 20 73 69 7a | around |2 GB siz|
|00000830| 65 20 6c 69 6d 69 74 37 | 41 63 63 65 73 73 69 6e |e limit7|Accessin|
|00000840| 67 20 66 69 6c 65 73 20 | 69 6e 20 61 20 66 6f 6c |g files |in a fol|
|00000850| 64 65 72 20 64 72 6f 70 | 70 65 64 20 6f 6e 74 6f |der drop|ped onto|
|00000860| 20 61 6e 20 61 70 70 6c | 69 63 61 74 69 6f 6e 3b | an appl|ication;|
|00000870| 49 67 6e 6f 72 65 20 61 | 73 79 6e 63 68 72 6f 6e |Ignore a|synchron|
|00000880| 6f 75 73 20 6c 6f 77 2d | 6c 65 76 65 6c 20 46 69 |ous low-|level Fi|
|00000890| 6c 65 20 4d 61 6e 61 67 | 65 72 20 66 75 6e 63 74 |le Manag|er funct|
|000008a0| 69 6f 6e 20 72 65 73 75 | 6c 74 73 2f 48 6f 77 20 |ion resu|lts/How |
|000008b0| 74 6f 20 67 65 74 20 4d | 61 63 69 6e 74 6f 73 68 |to get M|acintosh|
|000008c0| 20 66 69 6c 65 20 6c 61 | 62 65 6c 20 26 20 63 6f | file la|bel & co|
|000008d0| 6c 6f 72 20 73 74 72 69 | 6e 67 73 14 5f 43 61 74 |lor stri|ngs._Cat|
|000008e0| 4d 6f 76 65 20 76 73 20 | 5f 48 52 65 4e 61 6d 65 |Move vs |_HReName|
|000008f0| 37 4d 61 63 69 6e 74 6f | 73 68 20 76 65 72 69 66 |7Macinto|sh verif|
|00000900| 69 65 64 20 72 65 61 64 | 20 65 72 72 6f 72 20 70 |ied read| error p|
|00000910| 72 6f 64 75 63 65 73 20 | 64 61 74 61 56 65 72 45 |roduces |dataVerE|
|00000920| 72 72 20 28 2d 36 38 29 | 32 48 6f 77 20 63 61 6e |rr (-68)|2How can|
|00000930| 20 49 20 73 65 74 20 74 | 68 65 20 50 72 6f 74 65 | I set t|he Prote|
|00000940| 63 74 20 62 69 74 20 6f | 66 20 61 20 4d 61 63 69 |ct bit o|f a Maci|
|00000950| 6e 74 6f 73 68 20 66 69 | 6c 65 3f 38 44 65 74 65 |ntosh fi|le?8Dete|
|00000960| 72 6d 69 6e 69 6e 67 20 | 74 68 65 20 61 6d 6f 75 |rmining |the amou|
|00000970| 6e 74 20 6f 66 20 66 72 | 65 65 20 73 70 61 63 65 |nt of fr|ee space|
|00000980| 20 6f 6e 20 61 20 4d 61 | 63 69 6e 74 6f 73 68 20 | on a Ma|cintosh |
|00000990| 64 69 73 6b 3f 48 6f 77 | 20 74 6f 20 64 65 74 65 |disk?How| to dete|
|000009a0| 72 6d 69 6e 65 20 69 66 | 20 61 20 4d 61 63 20 66 |rmine if| a Mac f|
|000009b0| 69 6c 65 20 6f 72 20 72 | 65 73 6f 75 72 63 65 20 |ile or r|esource |
|000009c0| 66 69 6c 65 20 69 73 20 | 61 6c 72 65 61 64 79 20 |file is |already |
|000009d0| 6f 70 65 6e 2f 48 6f 77 | 20 74 6f 20 67 65 74 20 |open/How| to get |
|000009e0| 74 68 65 20 63 6f 72 72 | 65 63 74 20 73 69 7a 65 |the corr|ect size|
|000009f0| 20 6f 66 20 61 20 4d 61 | 63 69 6e 74 6f 73 68 20 | of a Ma|cintosh |
|00000a00| 66 69 6c 65 38 53 70 61 | 63 65 20 61 6e 64 20 70 |file8Spa|ce and p|
|00000a10| 6f 69 6e 74 65 72 20 6e | 65 65 64 65 64 20 74 6f |ointer n|eeded to|
|00000a20| 20 72 65 74 75 72 6e 20 | 69 6f 4e 61 6d 65 50 74 | return |ioNamePt|
|00000a30| 72 20 6e 61 6d 65 20 73 | 74 72 69 6e 67 2e 52 65 |r name s|tring.Re|
|00000a40| 74 61 69 6e 65 64 20 4d | 61 63 69 6e 74 6f 73 68 |tained M|acintosh|
|00000a50| 20 66 69 6c 65 20 72 65 | 66 65 72 65 6e 63 65 20 | file re|ference |
|00000a60| 72 65 71 75 69 72 65 6d | 65 6e 74 73 26 50 42 48 |requirem|ents&PBH|
|00000a70| 43 6f 70 79 46 69 6c 65 | 20 61 6e 64 20 4d 61 63 |CopyFile| and Mac|
|00000a80| 69 6e 74 6f 73 68 20 66 | 69 6c 65 20 63 6f 70 79 |intosh f|ile copy|
|00000a90| 69 6e 67 37 43 6f 70 79 | 69 6e 67 20 61 20 66 69 |ing7Copy|ing a fi|
|00000aa0| 6c 65 20 66 72 6f 6d 20 | 61 70 70 6c 69 63 61 74 |le from |applicat|
|00000ab0| 69 6f 6e 20 66 6f 6c 64 | 65 72 20 74 6f 20 53 79 |ion fold|er to Sy|
|00000ac0| 73 74 65 6d 20 46 6f 6c | 64 65 72 1e 50 42 47 65 |stem Fol|der.PBGe|
|00000ad0| 74 55 47 45 6e 74 72 79 | 20 64 6f 63 75 6d 65 6e |tUGEntry| documen|
|00000ae0| 74 61 74 69 6f 6e 20 66 | 69 78 26 4d 61 63 69 6e |tation f|ix&Macin|
|00000af0| 74 6f 73 68 20 52 65 61 | 64 20 63 61 6c 6c 73 20 |tosh Rea|d calls |
|00000b00| 61 74 20 69 6e 74 65 72 | 72 75 70 74 20 74 69 6d |at inter|rupt tim|
|00000b10| 65 2a 53 68 6f 75 6c 64 | 20 69 6f 4e 61 6d 65 50 |e*Should| ioNameP|
|00000b20| 74 72 20 70 6f 69 6e 74 | 20 74 6f 20 53 74 72 32 |tr point| to Str2|
|00000b30| 35 35 20 6f 72 20 53 74 | 72 36 33 3f 1a 46 69 6c |55 or St|r63?.Fil|
|00000b40| 65 20 4d 61 6e 61 67 65 | 72 20 4f 76 65 72 76 69 |e Manage|r Overvi|
|00000b50| 65 77 20 51 26 41 73 3c | 44 65 74 65 72 6d 69 6e |ew Q&As<|Determin|
|00000b60| 69 6e 67 20 77 68 69 63 | 68 20 4d 61 63 69 6e 74 |ing whic|h Macint|
|00000b70| 6f 73 68 20 46 69 6c 65 | 20 4d 61 6e 61 67 65 72 |osh File| Manager|
|00000b80| 20 63 61 6c 6c 73 20 61 | 72 65 20 61 76 61 69 6c | calls a|re avail|
|00000b90| 61 62 6c 65 23 53 79 73 | 74 65 6d 20 37 2e 30 20 |able#Sys|tem 7.0 |
|00000ba0| 44 41 73 20 61 6e 64 20 | 27 76 65 72 73 27 20 72 |DAs and |'vers' r|
|00000bb0| 65 73 6f 75 72 63 65 73 | 1f 46 69 6c 65 20 53 68 |esources|.File Sh|
|00000bc0| 61 72 69 6e 67 20 61 6e | 64 20 53 68 61 72 65 64 |aring an|d Shared|
|00000bd0| 20 46 6f 6c 64 65 72 73 | 0c 49 6e 74 72 6f 64 75 | Folders|.Introdu|
|00000be0| 63 74 69 6f 6e 3b 53 68 | 61 72 65 20 50 6f 69 6e |ction;Sh|are Poin|
|00000bf0| 74 73 2c 20 53 68 61 72 | 65 64 20 41 72 65 61 73 |ts, Shar|ed Areas|
|00000c00| 2c 20 4c 6f 63 6b 65 64 | 20 46 6f 6c 64 65 72 73 |, Locked| Folders|
|00000c10| 20 61 6e 64 20 50 42 47 | 65 74 43 61 74 49 6e 66 | and PBG|etCatInf|
|00000c20| 6f 25 46 69 67 75 72 65 | 20 31 d0 46 6f 6c 64 65 |o%Figure| 1.Folde|
|00000c30| 72 20 74 68 61 74 20 69 | 73 20 61 20 53 68 61 72 |r that i|s a Shar|
|00000c40| 65 20 50 6f 69 6e 74 3f | 46 69 67 75 72 65 20 32 |e Point?|Figure 2|
|00000c50| d0 46 6f 6c 64 65 72 20 | 74 68 61 74 20 69 73 20 |.Folder |that is |
|00000c60| 61 20 53 68 61 72 65 20 | 50 6f 69 6e 74 20 4d 6f |a Share |Point Mo|
|00000c70| 75 6e 74 65 64 20 62 79 | 20 61 20 52 65 67 75 6c |unted by| a Regul|
|00000c80| 61 72 20 55 73 65 72 38 | 46 69 67 75 72 65 20 33 |ar User8|Figure 3|
|00000c90| d0 46 6f 6c 64 65 72 20 | 69 6e 20 61 20 53 68 61 |.Folder |in a Sha|
|00000ca0| 72 65 64 20 41 72 65 61 | 20 6f 66 20 74 68 65 20 |red Area| of the |
|00000cb0| 46 6f 6c 64 65 72 20 48 | 69 65 72 61 72 63 68 79 |Folder H|ierarchy|
|00000cc0| 20 46 69 67 75 72 65 20 | 34 d0 69 6f 46 6c 41 74 | Figure |4.ioFlAt|
|00000cd0| 74 72 69 62 20 66 6f 72 | 20 61 20 46 6f 6c 64 65 |trib for| a Folde|
|00000ce0| 72 2a 53 68 61 72 65 64 | 20 46 6f 6c 64 65 72 73 |r*Shared| Folders|
|00000cf0| 20 61 6e 64 20 42 6c 61 | 6e 6b 20 41 63 63 65 73 | and Bla|nk Acces|
|00000d00| 73 20 50 72 69 76 69 6c | 65 67 65 73 28 46 69 67 |s Privil|eges(Fig|
|00000d10| 75 72 65 20 35 d0 41 63 | 63 65 73 73 20 50 72 69 |ure 5.Ac|cess Pri|
|00000d20| 76 69 6c 65 67 65 73 20 | 69 6e 20 69 6f 41 43 41 |vileges |in ioACA|
|00000d30| 63 63 65 73 73 12 46 75 | 72 74 68 65 72 20 52 65 |ccess.Fu|rther Re|
|00000d40| 66 65 72 65 6e 63 65 3a | 17 47 65 74 74 69 6e 67 |ference:|.Getting|
|00000d50| 20 61 20 46 75 6c 6c 20 | 50 61 74 68 6e 61 6d 65 | a Full |Pathname|
|00000d60| 07 57 61 72 6e 69 6e 67 | 0a 4d 50 57 20 50 61 73 |.Warning|.MPW Pas|
|00000d70| 63 61 6c 05 4d 50 57 20 | 43 12 46 75 72 74 68 65 |cal.MPW |C.Furthe|
|00000d80| 72 20 52 65 66 65 72 65 | 6e 63 65 3a 1c 48 46 53 |r Refere|nce:.HFS|
|00000d90| 20 43 6f 6d 70 61 74 69 | 62 69 6c 69 74 79 20 47 | Compati|bility G|
|00000da0| 75 69 64 65 6c 69 6e 65 | 73 1c 41 72 65 20 79 6f |uideline|s.Are yo|
|00000db0| 75 20 75 73 69 6e 67 20 | 53 74 61 6e 64 61 72 64 |u using |Standard|
|00000dc0| 20 46 69 6c 65 3f 64 41 | 72 65 20 79 6f 75 20 63 | File?dA|re you c|
|00000dd0| 6f 6e 63 61 74 65 6e 61 | 74 69 6e 67 20 76 6f 6c |oncatena|ting vol|
|00000de0| 75 6d 65 20 6e 61 6d 65 | 73 20 74 6f 20 66 69 6c |ume name|s to fil|
|00000df0| 65 20 6e 61 6d 65 73 2c | 20 69 2e 65 2e 20 75 73 |e names,| i.e. us|
|00000e00| 69 6e 67 20 66 69 6c 65 | 20 6e 61 6d 65 73 20 6f |ing file| names o|
|00000e10| 66 20 74 68 65 20 66 6f | 72 6d 20 56 4f 4c 55 4d |f the fo|rm VOLUM|
|00000e20| 45 3a 66 69 6c 65 4e 61 | 6d 65 3f 5f 41 72 65 20 |E:fileNa|me?_Are |
|00000e30| 79 6f 75 20 73 65 61 72 | 63 68 69 6e 67 20 64 69 |you sear|ching di|
|00000e40| 72 65 63 74 6f 72 69 65 | 73 20 66 6f 72 20 66 69 |rectorie|s for fi|
|00000e50| 6c 65 73 20 75 73 69 6e | 67 20 61 20 6c 6f 6f 70 |les usin|g a loop|
|00000e60| 20 73 75 63 68 20 61 73 | 09 09 46 4f 52 20 69 6e | such as|..FOR in|
|00000e70| 64 65 78 3a 3d 20 31 20 | 74 6f 20 69 6f 56 4e 6d |dex:= 1 |to ioVNm|
|00000e80| 46 6c 73 20 44 4f 20 2e | 2e 2e 09 33 77 68 65 72 |Fls DO .|...3wher|
|00000e90| 65 20 69 6f 56 4e 6d 46 | 6c 73 20 77 61 73 20 72 |e ioVNmF|ls was r|
|00000ea0| 65 74 75 72 6e 65 64 20 | 66 72 6f 6d 20 61 20 50 |eturned |from a P|
|00000eb0| 42 47 65 74 56 69 6e 66 | 6f 20 63 61 6c 6c 3f 40 |BGetVinf|o call?@|
|00000ec0| 41 72 65 20 79 6f 75 20 | 61 73 73 75 6d 69 6e 67 |Are you |assuming|
|00000ed0| 20 74 68 61 74 20 61 20 | 76 52 65 66 4e 75 6d 20 | that a |vRefNum |
|00000ee0| 77 69 6c 6c 20 61 63 74 | 75 61 6c 6c 79 20 72 65 |will act|ually re|
|00000ef0| 66 65 72 20 74 6f 20 61 | 20 76 6f 6c 75 6d 65 3f |fer to a| volume?|
|00000f00| 26 41 72 65 20 79 6f 75 | 20 77 61 6c 6b 69 6e 67 |&Are you| walking|
|00000f10| 20 74 68 72 6f 75 67 68 | 20 74 68 65 20 56 43 42 | through| the VCB|
|00000f20| 20 71 75 65 75 65 3f 45 | 41 72 65 20 79 6f 75 20 | queue?E|Are you |
|00000f30| 75 73 69 6e 67 20 74 68 | 65 20 66 69 6c 65 20 73 |using th|e file s|
|00000f40| 79 73 74 65 6d d5 73 20 | d2 49 4d 4d 45 44 d3 20 |ystem.s |.IMMED. |
|00000f50| 62 69 74 3f 20 28 61 73 | 73 65 6d 62 6c 79 20 6c |bit? (as|sembly l|
|00000f60| 61 6e 67 75 61 67 65 20 | 6f 6e 6c 79 29 12 46 75 |anguage |only).Fu|
|00000f70| 72 74 68 65 72 20 52 65 | 66 65 72 65 6e 63 65 3a |rther Re|ference:|
|00000f80| 10 48 46 53 20 45 6c 75 | 63 69 64 61 74 69 6f 6e |.HFS Elu|cidation|
|00000f90| 73 1a 4f 6e 65 20 43 6c | 6f 73 65 20 69 73 20 61 |s.One Cl|ose is a|
|00000fa0| 6c 77 61 79 73 20 65 6e | 6f 75 67 68 19 48 6f 77 |lways en|ough.How|
|00000fb0| 20 74 6f 20 61 76 6f 69 | 64 20 74 68 65 20 70 72 | to avoi|d the pr|
|00000fc0| 6f 62 6c 65 6d 3a 21 54 | 68 69 73 20 2e 66 69 6c |oblem:!T|his .fil|
|00000fd0| 65 20 6e 61 6d 65 20 6c | 6f 6f 6b 73 20 6f 75 74 |e name l|ooks out|
|00000fe0| 72 61 67 65 6f 75 73 2e | 18 54 68 69 73 20 66 69 |rageous.|.This fi|
|00000ff0| 6c 65 d5 73 20 6e 6f 74 | 20 6d 79 20 74 79 70 65 |le.s not| my type|
|00001000| 2e 12 46 75 72 74 68 65 | 72 20 52 65 66 65 72 65 |..Furthe|r Refere|
|00001010| 6e 63 65 3a 0f 48 46 53 | 20 52 75 6d 69 6e 61 74 |nce:.HFS| Ruminat|
|00001020| 69 6f 6e 73 0b 48 46 53 | 20 6e 75 6d 62 65 72 73 |ions.HFS| numbers|
|00001030| 13 57 6f 72 6b 69 6e 67 | 20 44 69 72 65 63 74 6f |.Working| Directo|
|00001040| 72 69 65 73 1a 57 68 65 | 6e 20 79 6f 75 20 63 61 |ries.Whe|n you ca|
|00001050| 6e 20 75 73 65 20 48 46 | 53 20 63 61 6c 6c 73 0e |n use HF|S calls.|
|00001060| 44 65 66 61 75 6c 74 20 | 76 6f 6c 75 6d 65 09 42 |Default |volume.B|
|00001070| 6f 6f 74 44 72 69 76 65 | 0b 46 72 6f 6d 20 4d 50 |ootDrive|.From MP|
|00001080| 57 20 43 3a 21 54 68 65 | 20 50 6f 6f 72 20 4d 61 |W C:!The| Poor Ma|
|00001090| 6e d5 73 20 53 65 61 72 | 63 68 20 50 61 74 68 20 |n.s Sear|ch Path |
|000010a0| 28 50 4d 53 50 29 13 69 | 6f 44 69 72 49 64 20 61 |(PMSP).i|oDirId a|
|000010b0| 6e 64 20 69 6f 46 6c 4e | 75 6d 0b 50 42 48 47 65 |nd ioFlN|um.PBHGe|
|000010c0| 74 56 49 6e 66 6f 1b 50 | 42 47 65 74 57 44 49 6e |tVInfo.P|BGetWDIn|
|000010d0| 66 6f 20 61 6e 64 20 52 | 65 67 69 73 74 65 72 20 |fo and R|egister |
|000010e0| 44 31 12 46 75 72 74 68 | 65 72 20 52 65 66 65 72 |D1.Furth|er Refer|
|000010f0| 65 6e 63 65 3a 0b 48 46 | 53 20 54 69 64 62 69 74 |ence:.HF|S Tidbit|
|00001100| 73 1d 41 6c 77 61 79 73 | 20 53 65 74 20 69 6f 46 |s.Always| Set ioF|
|00001110| 56 65 72 73 4e 75 6d 20 | 74 6f 20 5a 65 72 6f 20 |VersNum |to Zero |
|00001120| 49 6e 63 6f 72 72 65 63 | 74 20 50 42 53 65 74 56 |Incorrec|t PBSetV|
|00001130| 49 6e 66 6f 20 64 65 73 | 63 72 69 70 74 69 6f 6e |Info des|cription|
|00001140| 12 46 75 72 74 68 65 72 | 20 52 65 66 65 72 65 6e |.Further| Referen|
|00001150| 63 65 3a 15 43 6c 65 61 | 72 69 6e 67 20 69 6f 43 |ce:.Clea|ring ioC|
|00001160| 6f 6d 70 6c 65 74 69 6f | 6e 12 46 75 72 74 68 65 |ompletio|n.Furthe|
|00001170| 72 20 52 65 66 65 72 65 | 6e 63 65 3a 27 53 65 74 |r Refere|nce:'Set|
|00001180| 74 69 6e 67 20 69 6f 4e | 61 6d 65 50 74 72 20 69 |ting ioN|amePtr i|
|00001190| 6e 20 46 69 6c 65 20 4d | 61 6e 61 67 65 72 20 43 |n File M|anager C|
|000011a0| 61 6c 6c 73 12 46 75 72 | 74 68 65 72 20 52 65 66 |alls.Fur|ther Ref|
|000011b0| 65 72 65 6e 63 65 3a 19 | 44 6f 6e d5 74 20 4c 6f |erence:.|Don.t Lo|
|000011c0| 6f 6b 20 61 74 20 69 6f | 50 6f 73 4f 66 66 73 65 |ok at io|PosOffse|
|000011d0| 74 12 46 75 72 74 68 65 | 72 20 52 65 66 65 72 65 |t.Furthe|r Refere|
|000011e0| 6e 63 65 3a 25 49 53 4f | 20 39 36 36 30 20 26 20 |nce:%ISO| 9660 & |
|000011f0| 48 69 67 68 20 53 69 65 | 72 72 61 20 43 44 20 52 |High Sie|rra CD R|
|00001200| 4f 4d 20 46 6f 72 6d 61 | 74 73 26 57 68 61 74 d5 |OM Forma|ts&What.|
|00001210| 73 20 57 72 6f 6e 67 20 | 77 69 74 68 20 6d 79 20 |s Wrong |with my |
|00001220| 48 69 67 68 20 53 69 65 | 72 72 61 20 44 69 73 63 |High Sie|rra Disc|
|00001230| 3f 12 46 75 72 74 68 65 | 72 20 52 65 66 65 72 65 |?.Furthe|r Refere|
|00001240| 6e 63 65 3a 16 4c 6f 63 | 6b 2c 20 55 6e 6c 6f 63 |nce:.Loc|k, Unloc|
|00001250| 6b 20 74 68 65 20 52 61 | 6e 67 65 17 4c 6f 63 61 |k the Ra|nge.Loca|
|00001260| 6c 20 56 65 72 73 75 73 | 20 41 70 70 6c 65 53 68 |l Versus| AppleSh|
|00001270| 61 72 65 23 4f 6e 65 20 | 57 61 79 20 54 6f 20 4c |are#One |Way To L|
|00001280| 6f 63 6b 2c 20 54 77 6f | 20 57 61 79 73 20 54 6f |ock, Two| Ways To|
|00001290| 20 55 6e 6c 6f 63 6b 1b | 57 68 61 74 20 52 61 6e | Unlock.|What Ran|
|000012a0| 67 65 20 44 69 64 20 49 | 20 4a 75 73 74 20 4c 6f |ge Did I| Just Lo|
|000012b0| 63 6b 3f 11 41 6e 20 4f | 66 66 20 42 79 20 45 4f |ck?.An O|ff By EO|
|000012c0| 46 20 42 75 67 0a 43 6f | 6e 63 6c 75 73 69 6f 6e |F Bug.Co|nclusion|
|000012d0| 12 46 75 72 74 68 65 72 | 20 52 65 66 65 72 65 6e |.Further| Referen|
|000012e0| 63 65 3a 19 4d 69 78 69 | 6e 67 20 48 46 53 20 61 |ce:.Mixi|ng HFS a|
|000012f0| 6e 64 20 43 20 46 69 6c | 65 20 49 2f 4f 2d 50 72 |nd C Fil|e I/O-Pr|
|00001300| 6f 62 6c 65 6d 73 20 77 | 69 74 68 20 43 6f 6d 6d |oblems w|ith Comm|
|00001310| 75 6e 69 63 61 74 69 6f | 6e 20 42 65 74 77 65 65 |unicatio|n Betwee|
|00001320| 6e 20 48 46 53 20 61 6e | 64 20 43 0f 59 6f 75 20 |n HFS an|d C.You |
|00001330| 57 65 72 65 20 57 61 72 | 6e 65 64 12 46 75 72 74 |Were War|ned.Furt|
|00001340| 68 65 72 20 52 65 66 65 | 72 65 6e 63 65 3a 0f 4d |her Refe|rence:.M|
|00001350| 6f 76 69 6e 67 20 59 6f | 75 72 20 43 61 74 2c 46 |oving Yo|ur Cat,F|
|00001360| 69 67 75 72 65 20 31 d0 | 44 69 72 65 63 74 6f 72 |igure 1.|Director|
|00001370| 79 20 53 74 72 75 63 74 | 75 72 65 20 41 66 74 65 |y Struct|ure Afte|
|00001380| 72 20 53 46 50 75 74 46 | 69 6c 65 1b 46 69 67 75 |r SFPutF|ile.Figu|
|00001390| 72 65 20 32 d0 5f 50 42 | 43 61 74 4d 6f 76 65 20 |re 2._PB|CatMove |
|000013a0| 46 61 69 6c 75 72 65 2b | 46 69 67 75 72 65 20 33 |Failure+|Figure 3|
|000013b0| d0 50 61 72 65 6e 74 20 | 61 6e 64 20 44 65 73 74 |.Parent |and Dest|
|000013c0| 69 6e 61 74 69 6f 6e 20 | 44 69 72 65 63 74 6f 72 |ination |Director|
|000013d0| 69 65 73 19 42 65 74 74 | 65 72 20 4c 69 76 69 6e |ies.Bett|er Livin|
|000013e0| 67 20 54 68 72 6f 75 67 | 68 20 4e 49 4c 18 4d 6f |g Throug|h NIL.Mo|
|000013f0| 73 74 20 4f 66 20 54 68 | 65 20 54 69 6d 65 20 54 |st Of Th|e Time T|
|00001400| 68 61 74 20 49 73 06 50 | 61 73 63 61 6c 01 43 12 |hat Is.P|ascal.C.|
|00001410| 46 75 72 74 68 65 72 20 | 52 65 66 65 72 65 6e 63 |Further |Referenc|
|00001420| 65 3a 12 4e 75 6c 6c 73 | 20 69 6e 20 46 69 6c 65 |e:.Nulls| in File|
|00001430| 6e 61 6d 65 73 12 46 75 | 72 74 68 65 72 20 52 65 |names.Fu|rther Re|
|00001440| 66 65 72 65 6e 63 65 3a | 29 53 65 74 74 69 6e 67 |ference:|)Setting|
|00001450| 20 69 6f 46 44 69 72 49 | 6e 64 65 78 20 69 6e 20 | ioFDirI|ndex in |
|00001460| 50 42 47 65 74 43 61 74 | 49 6e 66 6f 20 43 61 6c |PBGetCat|Info Cal|
|00001470| 6c 73 14 43 61 6c 6c 69 | 6e 67 20 50 42 47 65 74 |ls.Calli|ng PBGet|
|00001480| 43 61 74 49 6e 66 6f 1e | 53 65 74 74 69 6e 67 20 |CatInfo.|Setting |
|00001490| 75 70 20 74 68 65 20 70 | 61 72 61 6d 65 74 65 72 |up the p|arameter|
|000014a0| 20 62 6c 6f 63 6b 1c 53 | 61 6d 70 6c 65 20 63 61 | block.S|ample ca|
|000014b0| 6c 6c 73 20 74 6f 20 50 | 42 47 65 74 43 61 74 49 |lls to P|BGetCatI|
|000014c0| 6e 66 6f 32 50 42 47 65 | 74 43 61 74 49 6e 66 6f |nfo2PBGe|tCatInfo|
|000014d0| 20 61 6e 64 20 54 68 65 | 20 50 6f 6f 72 20 4d 61 | and The| Poor Ma|
|000014e0| 6e d5 73 20 53 65 61 72 | 63 68 20 50 61 74 68 20 |n.s Sear|ch Path |
|000014f0| 28 50 4d 53 50 29 29 53 | 75 6d 6d 61 72 79 20 28 |(PMSP))S|ummary (|
|00001500| 44 69 72 49 44 20 3d 20 | 30 20 69 6e 20 61 6c 6c |DirID = |0 in all|
|00001510| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 29 3a | the fol|lowing):|
|00001520| 12 46 75 72 74 68 65 72 | 20 52 65 66 65 72 65 6e |.Further| Referen|
|00001530| 63 65 3a 1a 57 68 79 20 | 50 42 48 53 65 74 56 6f |ce:.Why |PBHSetVo|
|00001540| 6c 20 69 73 20 44 61 6e | 67 65 72 6f 75 73 12 46 |l is Dan|gerous.F|
|00001550| 75 72 74 68 65 72 20 52 | 65 66 65 72 65 6e 63 65 |urther R|eference|
|00001560| 3a 24 50 42 53 68 61 72 | 65 2c 20 50 42 55 6e 73 |:$PBShar|e, PBUns|
|00001570| 68 61 72 65 2c 20 61 6e | 64 20 50 42 47 65 74 55 |hare, an|d PBGetU|
|00001580| 47 45 6e 74 72 79 0c 54 | 68 65 20 52 6f 75 74 69 |GEntry.T|he Routi|
|00001590| 6e 65 73 07 50 42 53 68 | 61 72 65 09 50 42 55 6e |nes.PBSh|are.PBUn|
|000015a0| 73 68 61 72 65 0c 50 42 | 47 65 74 55 47 45 6e 74 |share.PB|GetUGEnt|
|000015b0| 72 79 12 46 75 72 74 68 | 65 72 20 52 65 66 65 72 |ry.Furth|er Refer|
|000015c0| 65 6e 63 65 3a 15 50 72 | 6f 62 6c 65 6d 20 77 69 |ence:.Pr|oblem wi|
|000015d0| 74 68 20 47 65 74 56 49 | 6e 66 6f 12 46 75 72 74 |th GetVI|nfo.Furt|
|000015e0| 68 65 72 20 52 65 66 65 | 72 65 6e 63 65 3a 28 53 |her Refe|rence:(S|
|000015f0| 65 61 72 63 68 69 6e 67 | 20 56 6f 6c 75 6d 65 73 |earching| Volumes|
|00001600| d1 53 6f 6c 75 74 69 6f | 6e 73 20 61 6e 64 20 50 |.Solutio|ns and P|
|00001610| 72 6f 62 6c 65 6d 73 15 | 53 65 61 72 63 68 69 6e |roblems.|Searchin|
|00001620| 67 20 4d 46 53 20 56 6f | 6c 75 6d 65 73 15 53 65 |g MFS Vo|lumes.Se|
|00001630| 61 72 63 68 69 6e 67 20 | 48 46 53 20 56 6f 6c 75 |arching |HFS Volu|
|00001640| 6d 65 73 29 46 61 73 74 | 2c 20 52 65 6c 69 61 62 |mes)Fast|, Reliab|
|00001650| 6c 65 20 53 65 61 72 63 | 68 65 73 20 55 73 69 6e |le Searc|hes Usin|
|00001660| 67 20 50 42 43 61 74 53 | 65 61 72 63 68 2d 52 65 |g PBCatS|earch-Re|
|00001670| 63 75 72 73 69 76 65 20 | 49 6e 64 65 78 65 64 20 |cursive |Indexed |
|00001680| 53 65 61 72 63 68 65 73 | 20 55 73 69 6e 67 20 50 |Searches| Using P|
|00001690| 42 47 65 74 43 61 74 49 | 6e 66 6f 32 53 65 61 72 |BGetCatI|nfo2Sear|
|000016a0| 63 68 69 6e 67 20 69 6e | 20 61 20 4d 75 6c 74 69 |ching in| a Multi|
|000016b0| 2d 75 73 65 72 2f 4d 75 | 6c 74 69 70 72 6f 63 65 |-user/Mu|ltiproce|
|000016c0| 73 73 20 45 6e 76 69 72 | 6f 6e 6d 65 6e 74 32 46 |ss Envir|onment2F|
|000016d0| 69 67 75 72 65 20 31 20 | 20 42 65 66 6f 72 65 20 |igure 1 | Before |
|000016e0| 44 61 73 68 62 6f 61 72 | 64 20 49 73 20 4d 6f 76 |Dashboar|d Is Mov|
|000016f0| 65 64 20 57 69 74 68 20 | 50 42 43 61 74 4d 6f 76 |ed With |PBCatMov|
|00001700| 65 31 46 69 67 75 72 65 | 20 32 20 20 41 66 74 65 |e1Figure| 2 Afte|
|00001710| 72 20 44 61 73 68 62 6f | 61 72 64 20 49 73 20 4d |r Dashbo|ard Is M|
|00001720| 6f 76 65 64 20 57 69 74 | 68 20 50 42 43 61 74 4d |oved Wit|h PBCatM|
|00001730| 6f 76 65 2f 46 69 67 75 | 72 65 20 33 20 20 42 65 |ove/Figu|re 3 Be|
|00001740| 66 6f 72 65 20 54 6f 79 | 73 20 49 73 20 52 65 6e |fore Toy|s Is Ren|
|00001750| 61 6d 65 64 20 57 69 74 | 68 20 50 42 48 52 65 6e |amed Wit|h PBHRen|
|00001760| 61 6d 65 37 46 69 67 75 | 72 65 20 34 20 20 41 66 |ame7Figu|re 4 Af|
|00001770| 74 65 72 20 54 6f 79 73 | 20 49 73 20 52 65 6e 61 |ter Toys| Is Rena|
|00001780| 6d 65 64 20 74 6f 20 47 | 61 6d 65 73 20 57 69 74 |med to G|ames Wit|
|00001790| 68 20 50 42 48 52 65 6e | 61 6d 65 0a 43 6f 6e 63 |h PBHRen|ame.Conc|
|000017a0| 6c 75 73 69 6f 6e 12 46 | 75 72 74 68 65 72 20 52 |lusion.F|urther R|
|000017b0| 65 66 65 72 65 6e 63 65 | 3a 21 48 65 79 20 42 75 |eference|:!Hey Bu|
|000017c0| 64 64 79 2c 20 43 61 6e | 20 59 6f 75 20 53 70 61 |ddy, Can| You Spa|
|000017d0| 72 65 20 41 20 42 6c 6f | 63 6b 3f 0c 49 6e 74 72 |re A Blo|ck?.Intr|
|000017e0| 6f 64 75 63 74 69 6f 6e | 0d 54 68 65 20 41 6c 67 |oduction|.The Alg|
|000017f0| 6f 72 69 74 68 6d 14 45 | 78 70 65 72 69 65 6e 63 |orithm.E|xperienc|
|00001800| 65 20 48 61 73 20 53 68 | 6f 77 6e 17 54 68 65 20 |e Has Sh|own.The |
|00001810| 43 6f 6d 70 61 74 69 62 | 69 6c 69 74 79 20 52 69 |Compatib|ility Ri|
|00001820| 73 6b 73 0a 43 6f 6e 63 | 6c 75 73 69 6f 6e 12 46 |sks.Conc|lusion.F|
|00001830| 75 72 74 68 65 72 20 52 | 65 66 65 72 65 6e 63 65 |urther R|eference|
|00001840| 3a 19 43 75 73 74 6f 6d | 69 7a 69 6e 67 20 53 74 |:.Custom|izing St|
|00001850| 61 6e 64 61 72 64 20 46 | 69 6c 65 2a 4d 6f 64 69 |andard F|ile*Modi|
|00001860| 66 79 69 6e 67 20 74 68 | 65 20 52 65 73 6f 75 72 |fying th|e Resour|
|00001870| 63 65 20 43 6f 6d 70 69 | 6c 65 72 20 49 6e 70 75 |ce Compi|ler Inpu|
|00001880| 74 20 46 69 6c 65 0f 54 | 68 65 20 44 69 61 6c 6f |t File.T|he Dialo|
|00001890| 67 20 48 6f 6f 6b 0f 54 | 68 65 20 46 69 6c 65 20 |g Hook.T|he File |
|000018a0| 46 69 6c 74 65 72 11 4d | 50 57 20 50 61 73 63 61 |Filter.M|PW Pasca|
|000018b0| 6c 20 53 6f 75 72 63 65 | 0c 4d 50 57 20 43 20 53 |l Source|.MPW C S|
|000018c0| 6f 75 72 63 65 0e 52 65 | 7a 20 49 6e 70 75 74 20 |ource.Re|z Input |
|000018d0| 46 69 6c 65 12 46 75 72 | 74 68 65 72 20 52 65 66 |File.Fur|ther Ref|
|000018e0| 65 72 65 6e 63 65 3a 1a | 53 74 61 6e 64 61 72 64 |erence:.|Standard|
|000018f0| 20 46 69 6c 65 20 50 61 | 63 6b 61 67 65 20 51 26 | File Pa|ckage Q&|
|00001900| 41 73 3e 57 6f 72 6b 69 | 6e 67 20 64 69 72 65 63 |As>Worki|ng direc|
|00001910| 74 6f 72 79 20 6e 6f 74 | 20 6e 65 63 65 73 73 61 |tory not| necessa|
|00001920| 72 79 20 66 6f 72 20 6e | 65 77 20 4d 61 63 69 6e |ry for n|ew Macin|
|00001930| 74 6f 73 68 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |tosh app|lication|
|00001940| 73 2d 57 68 61 74 20 74 | 6f 20 64 6f 20 69 6e 73 |s-What t|o do ins|
|00001950| 74 65 61 64 20 6f 66 20 | 6e 65 73 74 65 64 20 53 |tead of |nested S|
|00001960| 46 50 47 65 74 46 69 6c | 65 20 63 61 6c 6c 73 3e |FPGetFil|e calls>|
|00001970| 46 69 6c 65 20 68 61 6e | 64 6c 69 6e 67 20 77 69 |File han|dling wi|
|00001980| 74 68 69 6e 20 53 46 50 | 47 65 74 46 69 6c 65 20 |thin SFP|GetFile |
|00001990| 26 20 53 46 50 50 75 74 | 46 69 6c 65 20 44 6c 67 |& SFPPut|File Dlg|
|000019a0| 48 6f 6f 6b 20 66 75 6e | 63 74 69 6f 6e 73 40 46 |Hook fun|ctions@F|
|000019b0| 69 6c 74 65 72 69 6e 67 | 20 6f 75 74 20 69 6e 76 |iltering| out inv|
|000019c0| 69 73 69 62 6c 65 20 66 | 6f 6c 64 65 72 73 20 66 |isible f|olders f|
|000019d0| 72 6f 6d 20 61 20 53 74 | 61 6e 64 61 72 64 20 46 |rom a St|andard F|
|000019e0| 69 6c 65 20 64 69 61 6c | 6f 67 20 6c 69 73 74 34 |ile dial|og list4|
|000019f0| 54 61 62 62 69 6e 67 20 | 62 65 74 77 65 65 6e 20 |Tabbing |between |
|00001a00| 53 46 50 50 75 74 46 69 | 6c 65 20 63 75 73 74 6f |SFPPutFi|le custo|
|00001a10| 6d 20 64 69 61 6c 6f 67 | 20 74 65 78 74 20 66 69 |m dialog| text fi|
|00001a20| 65 6c 64 73 39 48 6f 77 | 20 74 6f 20 6f 76 65 72 |elds9How| to over|
|00001a30| 72 69 64 65 20 53 79 73 | 74 65 6d 20 37 2e 30 20 |ride Sys|tem 7.0 |
|00001a40| 53 74 61 6e 64 61 72 64 | 20 46 69 6c 65 20 64 69 |Standard| File di|
|00001a50| 61 6c 6f 67 20 63 65 6e | 74 65 72 69 6e 67 30 53 |alog cen|tering0S|
|00001a60| 74 61 6e 64 61 72 64 20 | 46 69 6c 65 20 61 6e 64 |tandard |File and|
|00001a70| 20 6e 6f 6e 74 72 61 73 | 68 61 62 6c 65 20 4d 61 | nontras|hable Ma|
|00001a80| 63 69 6e 74 6f 73 68 20 | 66 6f 6c 64 65 72 73 3f |cintosh |folders?|
|00001a90| 44 69 73 70 6c 61 79 69 | 6e 67 20 69 6e 76 69 73 |Displayi|ng invis|
|00001aa0| 69 62 6c 65 20 66 69 6c | 65 73 20 75 6e 64 65 72 |ible fil|es under|
|00001ab0| 20 53 79 73 74 65 6d 73 | 20 36 20 26 20 37 20 77 | Systems| 6 & 7 w|
|00001ac0| 69 74 68 6f 75 74 20 74 | 79 70 65 4c 69 73 74 36 |ithout t|ypeList6|
|00001ad0| 43 75 73 74 6f 6d 20 53 | 74 61 6e 64 61 72 64 20 |Custom S|tandard |
|00001ae0| 46 69 6c 65 20 64 69 61 | 6c 6f 67 20 65 64 69 74 |File dia|log edit|
|00001af0| 20 66 69 65 6c 64 73 20 | 75 6e 64 65 72 20 53 79 | fields |under Sy|
|00001b00| 73 74 65 6d 20 37 3b 57 | 6f 72 6b 69 6e 67 20 61 |stem 7;W|orking a|
|00001b10| 72 6f 75 6e 64 20 53 74 | 61 6e 64 61 72 64 20 46 |round St|andard F|
|00001b20| 69 6c 65 20 71 75 69 72 | 6b 20 77 68 65 6e 20 73 |ile quir|k when s|
|00001b30| 79 73 74 65 6d 20 68 65 | 61 70 20 69 73 20 66 75 |ystem he|ap is fu|
|00001b40| 6c 6c 3a 53 61 76 69 6e | 67 20 63 6f 72 72 65 63 |ll:Savin|g correc|
|00001b50| 74 20 4d 61 63 69 6e 74 | 6f 73 68 20 d2 75 73 65 |t Macint|osh .use|
|00001b60| 72 20 66 69 6c 65 20 6c | 61 73 74 20 75 73 65 64 |r file l|ast used|
|00001b70| d3 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 25 48 6f |. inform|ation%Ho|
|00001b80| 77 20 74 6f 20 63 6f 6e | 74 72 6f 6c 20 70 61 74 |w to con|trol pat|
|00001b90| 68 20 75 73 65 64 20 62 | 79 20 53 46 47 65 74 46 |h used b|y SFGetF|
|00001ba0| 69 6c 65 04 54 61 67 73 | 12 46 75 72 74 68 65 72 |ile.Tags|.Further|
|00001bb0| 20 52 65 66 65 72 65 6e | 63 65 3a 26 54 68 65 20 | Referen|ce:&The |
|00001bc0| 52 65 61 6c 20 53 74 6f | 72 79 3a 20 56 43 42 73 |Real Sto|ry: VCBs|
|00001bd0| 20 61 6e 64 20 44 72 69 | 76 65 20 4e 75 6d 62 65 | and Dri|ve Numbe|
|00001be0| 72 73 07 4f 66 66 6c 69 | 6e 65 07 45 6a 65 63 74 |rs.Offli|ne.Eject|
|00001bf0| 65 64 07 53 75 6d 6d 61 | 72 79 12 46 75 72 74 68 |ed.Summa|ry.Furth|
|00001c00| 65 72 20 52 65 66 65 72 | 65 6e 63 65 3a 21 46 69 |er Refer|ence:!Fi|
|00001c10| 6c 65 20 4d 61 6e 61 67 | 65 72 20 56 6f 6c 75 6d |le Manag|er Volum|
|00001c20| 65 20 48 61 6e 64 6c 69 | 6e 67 20 51 26 41 73 2b |e Handli|ng Q&As+|
|00001c30| 69 6f 56 41 74 72 62 20 | 62 69 74 20 37 20 61 6e |ioVAtrb |bit 7 an|
|00001c40| 64 20 62 69 74 20 31 35 | 20 6c 6f 63 6b 65 64 20 |d bit 15| locked |
|00001c50| 76 6f 6c 75 6d 65 20 62 | 69 74 73 2e 48 6f 77 20 |volume b|its.How |
|00001c60| 74 6f 20 64 69 73 70 6c | 61 79 20 6d 6f 75 6e 74 |to displ|ay mount|
|00001c70| 65 64 20 76 6f 6c 75 6d | 65 73 20 69 6e 20 61 20 |ed volum|es in a |
|00001c80| 64 69 61 6c 6f 67 20 62 | 6f 78 37 44 69 73 74 69 |dialog b|ox7Disti|
|00001c90| 6e 67 75 69 73 68 69 6e | 67 20 62 65 74 77 65 65 |nguishin|g betwee|
|00001ca0| 6e 20 4d 61 63 69 6e 74 | 6f 73 68 20 76 52 65 66 |n Macint|osh vRef|
|00001cb0| 4e 75 6d 73 20 61 6e 64 | 20 57 44 52 65 66 4e 75 |Nums and| WDRefNu|
|00001cc0| 6d 73 3e 54 65 63 68 6e | 69 71 75 65 20 66 6f 72 |ms>Techn|ique for|
|00001cd0| 20 6d 61 69 6e 74 61 69 | 6e 69 6e 67 20 75 70 2d | maintai|ning up-|
|00001ce0| 74 6f 2d 64 61 74 65 20 | 6c 69 73 74 20 6f 66 20 |to-date |list of |
|00001cf0| 4d 61 63 69 6e 74 6f 73 | 68 20 76 6f 6c 75 6d 65 |Macintos|h volume|
|00001d00| 73 1c 55 6e 6c 6f 63 6b | 69 6e 67 20 61 20 4d 61 |s.Unlock|ing a Ma|
|00001d10| 63 69 6e 74 6f 73 68 20 | 76 6f 6c 75 6d 65 2d 42 |cintosh |volume-B|
|00001d20| 6f 6f 74 69 6e 67 20 61 | 20 77 72 69 74 65 2d 70 |ooting a| write-p|
|00001d30| 72 6f 74 65 63 74 65 64 | 20 64 69 73 6b 20 75 6e |rotected| disk un|
|00001d40| 64 65 72 20 53 79 73 74 | 65 6d 20 37 25 43 68 61 |der Syst|em 7%Cha|
|00001d50| 6e 67 69 6e 67 20 61 20 | 76 6f 6c 75 6d 65 d5 73 |nging a |volume.s|
|00001d60| 20 6d 6f 64 69 66 69 63 | 61 74 69 6f 6e 20 64 61 | modific|ation da|
|00001d70| 74 65 1a 53 79 73 74 65 | 6d 20 37 20 44 41 20 55 |te.Syste|m 7 DA U|
|00001d80| 6e 6d 6f 75 6e 74 56 6f | 6c 20 62 75 67 40 48 6f |nmountVo|l bug@Ho|
|00001d90| 77 20 64 6f 20 49 20 74 | 65 6c 6c 20 69 66 20 61 |w do I t|ell if a|
|00001da0| 20 76 6f 6c 75 6d 65 20 | 69 73 20 61 20 66 6c 6f | volume |is a flo|
|00001db0| 70 70 79 20 6f 72 20 68 | 61 72 64 20 64 69 73 6b |ppy or h|ard disk|
|00001dc0| 2c 20 6f 72 20 72 65 6d | 6f 76 61 62 6c 65 32 48 |, or rem|ovable2H|
|00001dd0| 6f 77 20 64 6f 20 49 20 | 74 65 6c 6c 20 69 66 20 |ow do I |tell if |
|00001de0| 61 20 4d 61 63 69 6e 74 | 6f 73 68 20 76 6f 6c 75 |a Macint|osh volu|
|00001df0| 6d 65 20 69 73 20 4d 46 | 53 20 6f 72 20 48 46 53 |me is MF|S or HFS|
|00001e00| 3f 2d 48 6f 77 20 64 6f | 20 49 20 66 69 6e 64 20 |?-How do| I find |
|00001e10| 74 68 65 20 73 69 7a 65 | 20 6f 66 20 61 20 4d 61 |the size| of a Ma|
|00001e20| 63 69 6e 74 6f 73 68 20 | 76 6f 6c 75 6d 65 3f 37 |cintosh |volume?7|
|00001e30| 57 68 65 72 65 20 63 61 | 6e 20 49 20 66 69 6e 64 |Where ca|n I find|
|00001e40| 20 6d 6f 72 65 20 69 6e | 66 6f 72 6d 61 74 69 6f | more in|formatio|
|00001e50| 6e 20 61 62 6f 75 74 20 | 48 46 53 20 73 74 72 75 |n about |HFS stru|
|00001e60| 63 74 75 72 65 73 3f 36 | 46 69 6c 65 20 4d 61 6e |ctures?6|File Man|
|00001e70| 61 67 65 72 20 62 61 63 | 6b 75 70 20 76 6f 6c 75 |ager bac|kup volu|
|00001e80| 6d 65 20 69 6e 66 6f 20 | 62 6c 6f 63 6b 20 62 75 |me info |block bu|
|00001e90| 67 20 26 20 77 6f 72 6b | 61 72 6f 75 6e 64 33 43 |g & work|around3C|
|00001ea0| 68 61 6e 67 69 6e 67 20 | 74 68 65 20 76 6f 6c 75 |hanging |the volu|
|00001eb0| 6d 65 20 63 6f 6e 74 72 | 6f 6c 20 62 6c 6f 63 6b |me contr|ol block|
|00001ec0| 20 6d 6f 64 69 66 69 63 | 61 74 69 6f 6e 20 64 61 | modific|ation da|
|00001ed0| 74 65 3b 43 6f 64 65 20 | 66 6f 72 20 69 64 65 6e |te;Code |for iden|
|00001ee0| 74 69 66 79 69 6e 67 20 | 76 52 65 66 4e 75 6d 20 |tifying |vRefNum |
|00001ef0| 61 6e 64 20 44 69 72 49 | 44 20 6f 66 20 4d 41 43 |and DirI|D of MAC|
|00001f00| 20 53 79 73 74 65 6d 20 | 46 6f 6c 64 65 72 40 53 | System |Folder@S|
|00001f10| 79 73 74 65 6d 20 37 20 | 55 6e 6d 6f 75 6e 74 56 |ystem 7 |UnmountV|
|00001f20| 6f 6c 20 61 6e 64 20 45 | 6a 65 63 74 20 63 61 6c |ol and E|ject cal|
|00001f30| 6c 73 20 72 65 74 75 72 | 6e 20 70 6f 73 69 74 69 |ls retur|n positi|
|00001f40| 76 65 20 64 72 69 76 65 | 20 6e 75 6d 62 65 72 38 |ve drive| number8|
|00001f50| 48 6f 77 20 74 6f 20 64 | 65 74 65 72 6d 69 6e 65 |How to d|etermine|
|00001f60| 20 69 66 20 61 20 4d 61 | 63 69 6e 74 6f 73 68 20 | if a Ma|cintosh |
|00001f70| 66 69 6c 65 20 69 73 20 | 6f 6e 20 61 20 6c 6f 63 |file is |on a loc|
|00001f80| 6b 65 64 20 64 69 73 6b | 30 44 41 73 20 63 61 6e |ked disk|0DAs can|
|00001f90| 6e 6f 74 20 63 61 6c 6c | 20 55 6e 6d 6f 75 6e 74 |not call| Unmount|
|00001fa0| 56 6f 6c 20 74 72 61 70 | 20 75 6e 64 65 72 20 53 |Vol trap| under S|
|00001fb0| 79 73 74 65 6d 20 37 2e | 30 29 57 6f 72 6b 69 6e |ystem 7.|0)Workin|
|00001fc0| 67 20 64 69 72 65 63 74 | 6f 72 69 65 73 20 61 6e |g direct|ories an|
|00001fd0| 64 20 75 6e 6d 6f 75 6e | 74 65 64 20 76 6f 6c 75 |d unmoun|ted volu|
|00001fe0| 6d 65 73 27 47 65 74 74 | 69 6e 67 20 6f 70 65 6e |mes'Gett|ing open|
|00001ff0| 20 66 69 6c 65 20 6e 61 | 6d 65 20 6f 6e 20 61 6e | file na|me on an|
|00002000| 20 4d 46 53 20 76 6f 6c | 75 6d 65 3a 48 6f 77 20 | MFS vol|ume:How |
|00002010| 4d 61 63 69 6e 74 6f 73 | 68 20 46 69 6e 64 65 72 |Macintos|h Finder|
|00002020| 20 63 61 6c 63 75 6c 61 | 74 65 73 20 66 72 65 65 | calcula|tes free|
|00002030| 20 61 6e 64 20 75 73 65 | 64 20 76 6f 6c 75 6d 65 | and use|d volume|
|00002040| 20 73 70 61 63 65 23 57 | 6f 72 6b 69 6e 67 20 44 | space#W|orking D|
|00002050| 69 72 65 63 74 6f 72 69 | 65 73 20 61 6e 64 20 4d |irectori|es and M|
|00002060| 75 6c 74 69 46 69 6e 64 | 65 72 12 46 75 72 74 68 |ultiFind|er.Furth|
|00002070| 65 72 20 52 65 66 65 72 | 65 6e 63 65 3a 27 44 65 |er Refer|ence:'De|
|00002080| 74 65 72 6d 69 6e 69 6e | 67 20 57 68 69 63 68 20 |terminin|g Which |
|00002090| 46 69 6c 65 20 53 79 73 | 74 65 6d 20 49 73 20 41 |File Sys|tem Is A|
|000020a0| 63 74 69 76 65 12 46 75 | 72 74 68 65 72 20 52 65 |ctive.Fu|rther Re|
|000020b0| 66 65 72 65 6e 63 65 3a | |ference:| |
+--------+-------------------------+-------------------------+--------+--------+